package com.example.assignment4.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "商品实体")
public class Commodity {

    @ApiModelProperty("id")
    long id;

    @ApiModelProperty("名称")
    String name;

    @ApiModelProperty("描述")
    String description;

}
